ifeq ($(CONFIG_SOC_FAMILY_NRF5), y)

inc-g-y += \
    modules/nrfx \
    modules/nrfx/hal \
    modules/nrfx/mdk \
    modules/nrfx/drivers/include \
    components/libraries/log \
    components/libraries/log/src \
    components/libraries/util \
    components/libraries/experimental_section_vars \

src-$(CONFIG_SOC_SERIES_NRF52) += \
    modules/nrfx/mdk/system_nrf52.c

src-$(CONFIG_HAL_GPIO) += \
    modules/nrfx/drivers/src/nrfx_gpiote.c

endif
